* image.el (image-type-from-file-name, image-type): Simplify.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 21 May 2007 16:42:52 +0000 (16:42 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 21 May 2007 16:42:52 +0000 (16:42 +0000)
commit3e443c50d511e73c12d1b2ab1456aa5b481901b2
tree7db99e096eedf9e539526cf6e7da521106f5bc8a
parentebf2e2ce2974720388579bf488fc2864b2251189
* image.el (image-type-from-file-name, image-type): Simplify.
(image-type-auto-detected-p): Don't scan auto-mode-alist.

* files.el (magic-mode-alist): Remove image-type-auto-detected-p.
(magic-fallback-mode-alist): Add image-type-auto-detected-p.
lisp/ChangeLog